package com.sgcc.operate.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * actiprize对象 o_acti_prize
 * 
 * @author sgcc
 * @date 2021-03-31
 */
public class OActiPrize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一主键，序列 */
    @Excel(name = "唯一主键，序列")
    private String id;

    /** 活动ID */
    @Excel(name = "活动ID")
    private String activityId;

    /** 中奖账号 */
    @Excel(name = "中奖账号")
    private String account;

    /** 中奖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "中奖时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date prizeTime;

    /** 中奖名称 */
    @Excel(name = "中奖名称")
    private String prizename;

    /** 红包金额 */
    @Excel(name = "红包金额")
    private String prizeprice;

    /** $column.columnComment */
    @Excel(name = "红包金额")
    private String prizestate;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 派发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "派发时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date sendTime;

    /** 领取时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "领取时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date getTime;

    /** 参与抽奖id */
    @Excel(name = "参与抽奖id")
    private String partId;

    private String prizestateName;		// 奖品状态名称，
    private String activityNo;		// 活动编号
    private String actiName;		// 活动名称

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setActivityId(String activityId) 
    {
        this.activityId = activityId;
    }

    public String getActivityId() 
    {
        return activityId;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setPrizeTime(Date prizeTime) 
    {
        this.prizeTime = prizeTime;
    }

    public Date getPrizeTime() 
    {
        return prizeTime;
    }
    public void setPrizename(String prizename) 
    {
        this.prizename = prizename;
    }

    public String getPrizename() 
    {
        return prizename;
    }
    public void setPrizeprice(String prizeprice) 
    {
        this.prizeprice = prizeprice;
    }

    public String getPrizeprice() 
    {
        return prizeprice;
    }
    public void setPrizestate(String prizestate) 
    {
        this.prizestate = prizestate;
    }

    public String getPrizestate() 
    {
        return prizestate;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }
    public void setSendTime(Date sendTime) 
    {
        this.sendTime = sendTime;
    }

    public Date getSendTime() 
    {
        return sendTime;
    }
    public void setGetTime(Date getTime) 
    {
        this.getTime = getTime;
    }

    public Date getGetTime() 
    {
        return getTime;
    }
    public void setPartId(String partId) 
    {
        this.partId = partId;
    }

    public String getPartId() 
    {
        return partId;
    }

    public String getPrizestateName() {
        return prizestateName;
    }

    public void setPrizestateName(String prizestateName) {
        this.prizestateName = prizestateName;
    }

    public String getActivityNo() {
        return activityNo;
    }

    public void setActivityNo(String activityNo) {
        this.activityNo = activityNo;
    }

    public String getActiName() {
        return actiName;
    }

    public void setActiName(String actiName) {
        this.actiName = actiName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityId", getActivityId())
            .append("account", getAccount())
            .append("prizeTime", getPrizeTime())
            .append("prizename", getPrizename())
            .append("prizeprice", getPrizeprice())
            .append("prizestate", getPrizestate())
            .append("contacts", getContacts())
            .append("tel", getTel())
            .append("sendTime", getSendTime())
            .append("getTime", getGetTime())
            .append("partId", getPartId())
            .toString();
    }
}
